package com.project.harmonyledger.service;

import com.project.harmonyledger.common.response.Result;
import com.project.harmonyledger.pojo.Category;

import java.util.List;

public interface CategoryService {
    Result<List<Category>> getAllCategories();

    Result<List<Category>> getCategoriesByType(String type);

    Result<Category> getCategoryById(Long id);
}